package org.graduation.model.common.ics;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.ZoneId;
import java.util.Date;
import java.util.TimeZone;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ICS {
    private String summary;
    private String Description;
    private String location;
    private ZoneId zoneId;
    private Date start;
    private Date end;
    private Integer uid;
    private boolean allDay;

    public TimeZone getTimeZone(){
        return TimeZone.getTimeZone(zoneId);
    }
}
